<template>
    <div>
        <button @click="sendData">ComB</button>
        <com-c></com-c>
        接收数据：{{cId}}
    </div>
</template>

<script>
    import ComC from './ComC';
    export default {
        name: 'RbacProjectUiComB',
        components: {
            ComC
        },
        data() {
            return {

            };
        },

        props: {
            cId: {
                type: Number,
                default: 0,
                required: true,
            },
        },

        mounted() {

        },

        methods: {
            sendData() {
                this.$emit('send', 'abc', 'cde', 123);
            }
        },
    };
</script>